﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Sprint.aspx.cs" Inherits="TaskManager.Views.SprintPage" EnableEventValidation="false" %>

<div style="margin: 5px 5px 5px 5px;">
    <a id="saveButton" class="k-button" href="#">Save</a>
</div>

<form id="sprintForm" runat="server">
    <asp:HiddenField id="SprintId" runat="server"></asp:HiddenField>

    <fieldset><legend>Dates</legend>
        <div class="tm-field" style="width:100px;">Start Date:</div><div class="tm-field"><asp:TextBox id="StartDate" runat="server"></asp:TextBox></div>
        <div class="tm-field" style="width:20px;">&nbsp;</div>
        <div class="tm-field" style="width:100px;">End Date:</div><div class="tm-field"><asp:TextBox id="EndDate" runat="server"></asp:TextBox></div>
    </fieldset>
</form>

<fieldset><legend>Tasks</legend>
    <p>The Completed date needs to be between the Start date and End date.  Try changing the Completed date to see the validation in action.</p>
    <div id="taskGrid"></div>
</form>

<div id="messageWindow"></div>

<script src="Scripts/Sprint.js" type="text/javascript"></script>
<script type="text/javascript">
    Sprint.init();
</script>